import type { IUserInfoResp } from '../types'
import { http } from '@/http/http'

/**
 * 获取用户信息
 * @returns 用户信息
 */
export function getUserInfoApi() {
  return http<IUserInfoResp>({
    url: '/auth/user/info',
    method: 'GET',
  })
}
